<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%@ page  isELIgnored="false"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE html>
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title></title>
    

	<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
	<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
	<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/css/bootstrap.min.css" />

<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/jquery-ui-1.10.3.custom.min.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/jquery.gritter.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/select2.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/bootstrap-editable.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/ace.min.css" />
<link rel="stylesheet" type="text/css"
	href="<%=request.getContextPath()%>/css/assets/css/ace-rtl.min.css" />

    <link href="<%=request.getContextPath()%>/assets/css/font-awesome.css" rel="stylesheet" />
    <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
    <link rel="stylesheet" href="css/Orderfont.css"><link>
	<script src="assets/js/jquery-1.10.2.js"></script>
	<script  type="text/script" src="<%=request.getContextPath()%>/js/bootstrap.min.js" ></script>
	  </head>
  

<body>
	<div class="page-content">
		<div class="system-header">
		  		<h1><small>管理员信息<i class="icon-double-angle-right"></i></small></h1>
			</div>
		<!-- /.page-header -->
		<div class="row">
			<div class="col-xs-12">
				<div>
					<div id="user-profile-1" class="user-profile row">

						<div class="col-xs-12 col-sm-9">

							<div class="space-12"></div>

							<div class="profile-user-info profile-user-info-striped">
								<div class="profile-info-row">
									<div class="profile-info-name">账号</div>

									<div class="profile-info-value">
										<span class="editable" id="id">${adminUser.id}</span>
									</div>
								</div>

								<div class="profile-info-row">
									<div class="profile-info-name">名称</div>

									<div class="profile-info-value">
										<span class="label label-sm label-warning" id="name">${adminUser.name}</span>
									</div>
								</div>
								<div class="profile-info-row">
									<div class="profile-info-name">手机号</div>

									<div class="profile-info-value">
										<span class="label label-sm label-warning" id="phone">${adminUser.phone}</span>
									</div>
								</div>
								<div class="profile-info-row">
									<div class="profile-info-name">座机号</div>

									<div class="profile-info-value">
										<span class="editable" id="studio">${adminUser.studio}</span>
									</div>
								</div>	
								<div class="profile-info-row">
									<div class="profile-info-name">上次登录时间</div>

									<div class="profile-info-value">
										<span class="editable" id="lastLoginInTime">
										<fmt:formatDate value="${adminUser.lastLoginInTime}" pattern="yyyy-MM-dd HH:mm:ss"/> 
										</span>
									</div>
								</div>							
								<div class="profile-info-row">
									<div class="profile-info-name">密码</div>

									<div class="profile-info-value">
											<button class="btn" type="reset" onclick="window.location.href='public/jumpSecretEdit/${adminUser.id}'">
												<i class="icon-undo bigger-10"></i>
												修改密码
											</button>
									</div>
								</div>
								
								<div class="profile-info-row">
									<div class="profile-info-name">修改信息</div>

									<div class="profile-info-value">
											<button class="btn" type="reset" onclick="window.location.href='public/jumpInfoEdit/${adminUser.id}'">
												<i class="icon-undo bigger-10"></i>
												修改管理员信息
											</button>
									</div>
								</div>
								
								</div>
										
									</div>
								</div>
							</div>
						</div>
					<br>
				</div>
			</div>
	<script src="<%=request.getContextPath()%>/js/base.js"></script>
	<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");		
			$(function() {  
				var resultMsg = '${resultMsg}';
				if(resultMsg!='')
					alert(resultMsg);
			});
			
		</script>
</body>
</html>